package com.smbms.service.systemservice.positionService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smbms.dao.system.position.PositionMapper;
import com.smbms.pojo.system.Og_Department;
import com.smbms.pojo.system.Og_Position;
import com.smbms.pojo.system.Og_Positionclass;

@Service
public class positionServiceImpl implements positionService {
	
	@Autowired
	private PositionMapper posMapper;
	
	@Override
	public List<Og_Position> getPosition(Og_Position pos) {
		// TODO Auto-generated method stub
		return posMapper.getPosition(pos);
	}

	@Override
	public List<Og_Department> org_Dep_depCount(Integer depId, Integer posId) {
		// TODO Auto-generated method stub
		return posMapper.org_Dep_depCount(depId, posId);
	}

	@Override
	public List<Og_Positionclass> posClass() {
		// TODO Auto-generated method stub
		return posMapper.posClass();
	}
	
}
